package com.sugar.subscribe.course.module.business.controller.admin.coachwallet.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 教练钱包新增/修改 Request VO")
@Data
public class CoachWalletSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "12031")
    private Long id;

    @Schema(description = "教练ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27633")
    @NotNull(message = "教练ID不能为空")
    private Long coachId;

    @Schema(description = "余额（单位分）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "余额（单位分）不能为空")
    private Integer balance;

    @Schema(description = "累计收益（单位分）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "累计收益（单位分）不能为空")
    private Integer totalEarnings;

}